//
//  IMCustomModel.h
//  Btpin
//
//  Created by Vic on 2019/4/22.
//  Copyright © 2019 Vic. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "MineBusinessCardBaseModel.h"
#import "IMJobBaseInfoModel.h"
#import "IMPersonalBaseInfoModel.h"

NS_ASSUME_NONNULL_BEGIN

@interface IMCustomModel : NSObject <NSCopying>

@property (nonatomic, copy) NSString *type; // 消息类型 tip:普通操作提示消息 namecard_exchange:交换名片请求消息 namecard:收到名片消息 resume:收到简历消息 resume_apply:简历申请确认消息 apply_video：视频会话邀请消息 notice：官方通知消息 resume_info:简历详情消息 job_info:职位详情消息 location:位置
@property (nonatomic, copy) NSString *style; // 消息样式 normal-常规(字体颜色白色、灰色背景) fail-失败提示(字体颜色红色、灰色背景)
@property (nonatomic, copy) NSString *title; // 消息内容
@property (nonatomic, copy) NSString *content; // 消息内容
@property (nonatomic, copy) NSString *rid; // 交换请求ID \发送/申请ID
@property (nonatomic, strong) MineBusinessCardBaseModel *info; // 名片数据 
@property (nonatomic, copy) NSString *resume_id; // 简历ID
@property (nonatomic, copy) NSString *id; // 邀请编号
@property (nonatomic, copy) NSString *expire_time; // 邀请到期时间 请求过期后不可加入房间
@property (nonatomic, strong) NSMutableArray *actions; // 消息扩展操作

@property (nonatomic, strong) IMJobBaseInfoModel *jobInfoModel; // 职位详情
@property (nonatomic, strong) IMPersonalBaseInfoModel *personalInfoModel; // 简历详情

/**
 *  地理位置描述信息，发送消息时设置
 */
@property(nonatomic,strong) NSString * desc;
/**
 *  纬度，发送消息时设置
 */
@property(nonatomic,assign) double latitude;
/**
 *  经度，发送消息时设置
 */
@property(nonatomic,assign) double longitude;

@end

NS_ASSUME_NONNULL_END
